<?php

class HolidayCalendarTable extends Doctrine_Table
{
    public function getHolidayId($cdate){
        $q = $this->createQuery('h')
                ->where('h.date = ?', $cdate);
        $r = $q->fetchArray();
        return $r[0]['holiday_id'];
    }
//    public function getHolidayIdFromDate(cdate)
}
